<template>
  <div class="agreecontent">
    <div class="content" v-html="agreeDetail.context"></div>
  </div>
</template>

<script>
export default {
  data(){
    return {
      agreeDetail:{}
    }
  },
  created(){
    this.getAgreeDetail()
  },
  methods: {
    getAgreeDetail(){
      let params = {
        id:this.$route.query.id
      }
      this.$post("/protocol/getById",params).then((res)=>{
        // console.log(res)
        if(res.code=='200'){
          this.agreeDetail=res.data
          document.title=res.data.title
        }
      })
    }
  }
 
}
</script>

<style lang="scss" scoped>
  .agreecontent{
    padding:10px;
    font-size: 16px;
  }
</style>
